package com.woniuxy.entity;

/**
 * @author: Date: 2021/11/11:12:10
 * Description:
 */
public class Chinese implements Person{
    String name;

    public Chinese(String name) {
        this.name=name;
    }

    @Override
    public String toString() {
        return "Chinese{" +
                "name='" + name + '\'' +
                '}';
    }

    @Override
    public void eat() {
        System.out.println("吃饭");
    }
}
